﻿using EYangFramework.Domain.Entitys.Entrys;
using EYangFramework.Domain.Entitys.ValueObjects;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EYangFramework.Domain.Entitys.ValueObjects
{
    [Table("EYANG_NAVIGATION")]
    public class Navigation : ValueObject
    {
        [StringLength(20)]
        public virtual string NAVIGATIONNAME { get; set; }
        public virtual NavigationType NAVIGATIONTYPE { get; set; }
        public virtual Navigation PREVIEWNAVIGATION { get; set; }
        public virtual int ORDER { get; set; }
        [StringLength(200)]
        public virtual string URL { get; set; }
        [StringLength(100)]
        public virtual string BGIMAGE { get; set; }
        public virtual ICollection<User> USERS { get; set; }
        public virtual ICollection<Role> ROLES { get; set; }
    }
}
